<template>
    <el-pagination :page-size="pageSize" small background layout="prev, pager, next" :total="total"
        @change="handleChangePage" />
</template>

<script>
import { defineComponent, ref, reactive, nextTick, onMounted, toRaw, toRefs, watch } from 'vue'
export default defineComponent({
    props: {
        total: {
            type: Number,
            default: () => 0
        },
        pageSize: {
            type: Number,
            default: () => 50
        }

    },
    setup(props, { emit }) {
        const handleChangePage = (v) => {
            emit("handleChangePage", v)
        }
        return {
            handleChangePage
        }
    }
})
</script>


<style scoped lang='scss'></style>